/**
 * 
 */
package tests;

import scene.BaseScene;

import data.Vector2;
import main.Core;
import model.ImageSprite;

/**
 * Testa a capacidade de controlar o posicionamento Z dos sprites.
 * @author Ygor
 *
 */
public class DepthTest extends BaseScene{

	public DepthTest(Core core) {
		super(core);
		ImageSprite x = new ImageSprite("images/Charmander.png", new Vector2(50,50), new Vector2(200, 200), Vector2.zero(), this, core);
		x.setSpeed(new Vector2(30,30));
		x.setDepth(0f);
		
		ImageSprite y = new ImageSprite("images/Bulbasaur.png", new Vector2(300,50), new Vector2(200, 200), Vector2.zero(), this, core);
		y.setSpeed(new Vector2(-30,30));
		y.setDepth(1f);
		
		ImageSprite z = new ImageSprite("images/squirtle.gif", new Vector2(200,500), new Vector2(200, 200), Vector2.zero(), this, core);
		z.setSpeed(new Vector2(0,-60));
		z.setDepth(2f);
	}	
}
